<template>
    <div class="backup-history">
      <h2>备份历史记录</h2>
      <el-table :data="backupHistory" style="width: 100%">
        <el-table-column prop="time" label="备份时间" width="180"></el-table-column>
        <el-table-column prop="type" label="备份类型" width="180"></el-table-column>
        <el-table-column prop="result" label="备份结果" width="180"></el-table-column>
      </el-table>
    </div>
  </template>
  
  <script setup lang="ts">
  import { ref } from 'vue';
  
  const backupHistory = ref([
    { time: '2023-08-26 10:00:00', type: 'Full', result: 'Success' },
    { time: '2023-08-25 10:00:00', type: 'Incremental', result: 'Success' },
    { time: '2023-08-24 10:00:00', type: 'Full', result: 'Failed' },
  ]);
  </script>